package day010.homework.p3;

public class Test {
    public static void main(String[] args) {
        Clerk clerk = new Clerk();
        Manager manager = new Manager();
        clerk.setName("李小亮");
        clerk.setWorkId("C001");
        clerk.setDept("销售部");
        clerk.setManager(manager);

        manager.setName("张小强");
        manager.setWorkId("M001");
        manager.setDept("销售部");
        manager.setClerk(clerk);

        manager.showMsg();
        clerk.showMsg();
    }
}
